package com.fan.shop.dao;

import java.math.BigDecimal;
import java.util.List;

import com.fan.shop.domain.StockReq;
import com.fan.shop.domain.StockReqLine;

public interface StockReqDao {
	
	public StockReq getStockReq(String requisitionNo);

	public List<StockReq> getAllStockReqs();

	public int getSize();

	public void addStockReq(StockReq stockReq);

	public void updateStockReq(StockReq stockReq);

	public void deleteStockReq(StockReq stockReq);
	
	public boolean hasStockReq(String requisitionNo);
	
	
	public List<String> getColumnNames();
	
	public BigDecimal getTotalPrice(String requisitionNo);
	public int getTotalQty(String requisitionNo);
	public List<StockReqLine> getStockReqLines(String requisitionNo);
	
	
}
